package name.bingo.bing.concurrent.red.packet.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;import java.util.Date;

/**
 * @author [ your email ]
 * @date 2019-03-22 11:09:52
 * Created by CodeGen .
 */
@ApiModel(description = "")
@Data
public class TRedPacket implements Serializable {

    private static final long serialVersionUID = 4143643527414008643L;

    @ApiModelProperty(value = "ID", dataType = "Long")
    private Long id;

    @ApiModelProperty(value = "客户ID", dataType = "Long")
    private Long customerId;

    @ApiModelProperty(value = "红包总额", dataType = "java.math.BigDecimal")
    private BigDecimal amount;

    @ApiModelProperty(value = "单个小红包金额", dataType = "java.math.BigDecimal")
    private BigDecimal unitAmount;

    @ApiModelProperty(value = "红包个数", dataType = "Long")
    private Long stock;

    @ApiModelProperty(value = "是否处于已删除状态", dataType = "Integer")
    private Integer isDeleted;

    @ApiModelProperty(value = "鍒涘缓鏃堕棿", dataType = "Date")
    private Date createdAt;

    @ApiModelProperty(value = "鏇存柊鏃堕棿", dataType = "Date")
    private Date updatedAt;

    @ApiModelProperty(value = "版本号", dataType = "Long")
    private Long version;

}
